<?php

if (isset ($_GET['etu'])) {

	$connexion = mysql_connect("localhost", "root", "");
	mysql_select_db("etunote", $connexion);
	
	extract($_GET);
	getDonnee($etu);
}
	else {
	
	echo "{}";
		
		 }

function getDonnee($etu) {
	$sql = "select *
		FROM etudiants
		WHERE etudiant = '".$etu."'";
		
}

?>

